﻿using Estsh.Core.Model.Extend.Models;
using Estsh.Core.Models;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations.Schema;

namespace Estsh.Core.Model.Extend.IFModels
{
    /// <summary>
    ///销售历史数据，数据实体对象
    /// </summary>
    [Table("Sap_SalesHistory")]
    [Serializable]
    public class SapSalesHistory
    {
        /// <summary>
        /// 物料编码
        /// </summary>
        [Column("PAETCODE")]
        [DisplayName(" ")]
        public string PartCode { get; set; }

        /// <summary>
        /// 近3月平均销量
        /// </summary>
        [Column("AVE3SALESNUM")]
        [DisplayName(" ")]
        public decimal Ave3SalesNum { get; set; }
        /// <summary>
        /// 近6月平均销量
        /// </summary>
        [Column("AVE6SALESNUM")]
        [DisplayName(" ")]
        public decimal Ave6SalesNum { get; set; }

        /// <summary>
        /// 类别
        /// </summary>
        [Column("CATEGORY")]
        [DisplayName(" ")]
        public string Category { get; set; }


        /// <summary>
        /// 日期
        /// </summary>
        [Column("DATE")]
        [DisplayName(" ")]
        public string Date { get; set; }

        /// <summary>
        /// Y：启用 N：禁用
        /// </summary>
        [Column("ENABLED")]
        [DisplayName(" ")]
        public string ENABLED { get; set; }

    }



}